package com.ruoyi.partscore.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 支部积分对象 part_score
 * 
 * @author ruoyi
 * @date 2023-09-26
 */
public class PartScore extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 序号 */
    private Long id;

    /** 姓名 */
    @Excel(name = "姓名")
    private String name;

    /** 支部id */
    @Excel(name = "支部id")
    private Long pid;

    /** 总积分 */
    @Excel(name = "总积分")
    private Long scoreCount;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setPid(Long pid) 
    {
        this.pid = pid;
    }

    public Long getPid() 
    {
        return pid;
    }
    public void setScoreCount(Long scoreCount) 
    {
        this.scoreCount = scoreCount;
    }

    public Long getScoreCount() 
    {
        return scoreCount;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("pid", getPid())
            .append("scoreCount", getScoreCount())
            .toString();
    }
}
